git push

1
2
//克隆项目
git clone https://github.com/baylin87/web-development-demo.git
1
2
//克隆某分支
git clone -b <branch-name> <git-address>
1
2
//进入项目目录
cd <name>
1
2
//查看git状态
git status
1
git add .
1
git commit -m "add Trtris and update readme"
1
git push -u origin master

如果push失败,则添加 --force 参数